<template>
    <div class="product bg">
        <p class="product_head">
            <span @click="kanList">全民砍价</span>
            <i class="van-icon van-icon-arrow"></i>
        </p>
        <div v-if="bar.length" class="product_right" @click="kanList">
            <img :src="bar[3].pic" alt="">
            <div class="text">
               <p>{{bar[3].name}}</p>
               <p class="characteristic">{{bar[3].characteristic}}</p>
               <ol>
                   <li>
                       <span>￥{{bar[3].minPrice}}</span>
                       <span>低价</span>
                   </li>
                   <li>
                       <span>￥{{bar[3].originalPrice}}</span>
                       <span>原价</span>
                   </li>
                   <li>
                       <span>{{bar[3].stores}}件</span>
                       <span>限量</span>
                   </li>
               </ol>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props:['bar'],
    // 砍价的数据
    methods: {
    kanList(){
      this.$router.push({path:'/kanList'});
    }
  },
}
</script>

<style>

</style>